package com.bjfu.eduservice.client;

import com.bjfu.common_utils.vo.UcenterMemberVo;
import com.bjfu.servicebase.exceptionhandler.GuliException;
import org.springframework.stereotype.Component;

@Component
public class UcenterDegradeFeignClient implements UcenterClient {
    /*
    调用接口正确的话这里不会执行
    调用接口错误的话回到这里执行
     */
    @Override
    public UcenterMemberVo getMemberInfo(String id) {
        throw new GuliException(20001,"获取用户信息失败啦");
    }
}
